package com.scs.application.modules.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityIndexAnnotation;
import com.scs.application.modules.upgrade.db.enums.EntityFieldType;
import lombok.Data;
import lombok.experimental.Accessors;
/**
 * <p>
 * 库位耗材范围
 * </p>
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "院方库位耗材范围表")
@TableName("location_limit_matr")
@EntityIndexAnnotation(ux = {"matr_id,warehouse_id,unit_id"})
public class LocationLimitMatr extends DataEntity {


    // id ,在父类中处理


    // creator ,在父类中处理


    // gmt_create ,在父类中处理


    // modifier ,在父类中处理


    // gmt_modified ,在父类中处理

    @EntityFieldAnnotation(
            text = "库位id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String locationId;

    @EntityFieldAnnotation(
            text = "库位名称",
            length = "50",
            not_null = false,
            default_value = "",
            comment = "货位名称"
    )
    private String locationName;


    @EntityFieldAnnotation(
            text = "货位代码",
            length = "20",
            not_null = false,
            default_value = "",
            comment = "货位代码"
    )
    private String locationCode;

    @EntityFieldAnnotation(
            text = "货位识别码",
            length = "50",
            not_null = false,
            default_value = "",
            comment = "货位识别码"
    )
    private String locationIdcode;

    @EntityFieldAnnotation(
            text = "库位所属仓库id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String warehouseId;

    @EntityFieldAnnotation(
            text = "仓库名称",
            length = "50",
            not_null = true,
            default_value = "",
            comment = "仓库名称"
    )
    private String warehouseName;

    @EntityFieldAnnotation(
            text = "耗材id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String matrId;

    @EntityFieldAnnotation(
            text = "品名",
            length = "100",
            not_null = true,
            default_value = "",
            comment = "品名"
    )
    private String matrName;

    @EntityFieldAnnotation(
            text = "品规",
            length = "100",
            not_null = true,
            default_value = "",
            comment = "品规"
    )
    private String matrSpec;


    @EntityFieldAnnotation(
            text = "库位类型",
            length = "20",
            not_null = false,
            default_value = "",
            comment = "库位类型(fsd:智能柜，shelves：货架，shouse：智能屋)"
    )
    private String locationType;

    @EntityFieldAnnotation(
            text = "单位",
            length = "10",
            not_null = true,
            default_value = "",
            comment = "单位"
    )
    private String packageUnit;

    @EntityFieldAnnotation(
            text = "单位id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String unitId;

    @EntityFieldAnnotation(
            text = "耗材型号",
            length = "100",
            not_null = false,
            default_value = "",
            comment = "耗材型号"
    )
    private String matrModel;

}
